home *** CD-ROM | disk | FTP | other *** search
/ Champak 43 / Vol 43.iso / games / menininh.swf / scripts / __Packages / RowMessage.as < prev    next >
Encoding:
Text File  |  2007-07-06  |  390 b   |  24 lines

  1. class RowMessage extends MovieClip
  2. {
  3.    var combo = "cc";
  4.    function RowMessage()
  5.    {
  6.       super();
  7.    }
  8.    function setCombo(c)
  9.    {
  10.       if(c == 4)
  11.       {
  12.          this.gotoAndPlay("4InLine");
  13.       }
  14.       else if(c == 5)
  15.       {
  16.          this.gotoAndPlay("5InLine");
  17.       }
  18.       else if(c > 5)
  19.       {
  20.          this.gotoAndPlay("6+InLine");
  21.       }
  22.    }
  23. }
  24.